import scala.io.StdIn
object InputConDemo01 {
  def main(array: Array[String]):Unit={
    println("请输入姓名：")
    val name=StdIn.readLine()
    println("请输入年龄:")
    val age=StdIn.readLine()
    println("请输入薪水:")
    val salary =StdIn.readDouble()
    println("用户信息为:name=%s,age=%d,salary=%.2f",name,age,salary)
  }

}
